package com.yanqu.road.entity.activity.tonbing.data;

import com.alibaba.fastjson.annotation.JSONField;

public class CrossTonBingCampBuff {

    private int campId;
    private long beginTime;
    private int cityId;
    private int buffId;

    @JSONField(serialize = false)
    private long endTime = 0; // 城池固定buff传结束时间，有这个时间就用这个

    public CrossTonBingCampBuff() {
    }

    public CrossTonBingCampBuff(int campId, long beginTime, int cityId, int buffId) {
        this.campId = campId;
        this.beginTime = beginTime;
        this.cityId = cityId;
        this.buffId = buffId;
    }

    public CrossTonBingCampBuff(int campId, long beginTime, int cityId, int buffId, long endTime) {
        this.campId = campId;
        this.beginTime = beginTime;
        this.cityId = cityId;
        this.buffId = buffId;
        this.endTime = endTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getCampId() {
        return campId;
    }

    public void setCampId(int campId) {
        this.campId = campId;
    }

    public long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(long beginTime) {
        this.beginTime = beginTime;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getBuffId() {
        return buffId;
    }

    public void setBuffId(int buffId) {
        this.buffId = buffId;
    }
}
